package com.yznu.jaee.reflect;

import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;


public class TestReflect {
public static void main(String args[]) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException {
	Student2 s1 = new Student2();
	Service s = new Service();
	s.test1(s1);
	Book b1 = new Book();
	s.test1(b1);
	
}
}